package com.zkthink.ceres.product.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 折扣配置表
 * </p>
 *
 * @author CHENKE
 * @since 2020-11-18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "ProductDiscountConfigSaveDTO", description = "折扣配置表")
public class ProductDiscountConfigSaveDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 商品id
     */
    @ApiModelProperty(value = "商品id")
    private Long productId;

    /**
     * 商品折扣比例(%)
     */
    @ApiModelProperty(value = "商品折扣比例")
    private Integer productDiscount;

    /**
     * 直接分销折扣比例(%)
     */
    @ApiModelProperty(value = "直接分销折扣比例")
    private Integer product1Discount;

    /**
     * 间接分销折扣比例(%)
     */
    @ApiModelProperty(value = "间接分销折扣比例")
    private Integer product2Discount;


    /**
     * 资深分销折扣比例(%)
     */
    @ApiModelProperty(value = "资深分销折扣比例")
    private Integer product3Discount;



    /**
     * 逻辑删除 1-删除 0-未删除
     */
    @ApiModelProperty(value = "逻辑删除 1-删除 0-未删除")
    private Integer isDelete;
}
